#!/bin/bash
pid_name="isee_student"
echo "杀死的进程名称：" $pid_name
pid=$(ps -ef|grep $pid_name|grep -v grep|awk '{print $2}')
echo "pid列表：" $pid
for item in $pid
do
  echo "杀死进程pid=" $item
  kill -9 $item
done